package com.ruoyi.repairQuery.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.repairQuery.mapper.RepairQueryMapper;
import com.ruoyi.repairQuery.domain.RepairQueryT;
import com.ruoyi.repairQuery.service.IRepairQueryService;

/**
 * 维修记录查询Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-05-31
 */
@Service
public class RepairQueryServiceImpl implements IRepairQueryService 
{
    @Autowired
    private RepairQueryMapper repairQueryMapper;

    /**
     * 查询维修记录查询
     * 
     * @param checkId 维修记录查询主键
     * @return 维修记录查询
     */
    @Override
    public RepairQueryT selectRepairQueryByCheckId(Long checkId)
    {
        return repairQueryMapper.selectRepairQueryByCheckId(checkId);
    }

    /**
     * 查询维修记录查询列表
     * 
     * @param repairQuery 维修记录查询
     * @return 维修记录查询
     */
    @Override
    public List<RepairQueryT> selectRepairQueryList(RepairQueryT repairQuery)
    {
        return repairQueryMapper.selectRepairQueryList(repairQuery);
    }

    @Override
    public List<RepairQueryT> selectProject(RepairQueryT repairQuery) {
        return repairQueryMapper.selectProject(repairQuery);
    }

    @Override
    public RepairQueryT selectCostMoneySum(RepairQueryT repairQuery) {
        return repairQueryMapper.selectCostMoneySum(repairQuery);
    }

    @Override
    public RepairQueryT selectRepairMoneySum(RepairQueryT repairQuery) {
        return repairQueryMapper.selectRepairMoneySum(repairQuery);
    }

    @Override
    public List<RepairQueryT> selectRepairQueryList1(RepairQueryT repairQuery) {
        return repairQueryMapper.selectRepairQueryList1(repairQuery);
    }

    @Override
    public int updateRepairBalance(RepairQueryT repairQuery) {
        return repairQueryMapper.updateRepairBalance(repairQuery);
    }

    @Override
    public List<RepairQueryT> selectDoorList() {
        return repairQueryMapper.selectDoorList();
    }

    @Override
    public RepairQueryT selectRepairQuerySum(RepairQueryT repairQuery)
    {
        return repairQueryMapper.selectRepairQuerySum(repairQuery);
    }

    @Override
    public RepairQueryT selectRepairQuerySum1(RepairQueryT repairQuery) {
        return repairQueryMapper.selectRepairQuerySum1(repairQuery);
    }

}
